import request from '@/utils/request'

// 分页条件查询
export function getOutcompanyList(params) {
  return request({
    url: '/operatingCenter/outCompany/selectPage',
    method: 'POST',
    params
  })
}

// 添加
export function insertOutcompany(data) {
  return request({
    url: '/operatingCenter/outCompany/insertSelective',
    method: 'POST',
    data
  })
}

// 修改查询
export function selectOutcompany(params) {
  return request({
    url: '/operatingCenter/outCompany/selectByPrimaryKey',
    method: 'POST',
    params
  })
}

// 修改
export function updateOutcompany(data) {
  return request({
    url: '/operatingCenter/outCompany/updateByPrimaryKeySelective',
    method: 'post',
    data
  })
}

// 删除
export function deleteOutcompany(params) {
  return request({
    url: '/operatingCenter/outCompany/deleteByPrimaryKey',
    method: 'POST',
    params
  })
}
